package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ReferenceableViewSpecification implements ViewSpecification {

    private int beginIndex;
    private int endIndex;
    private SchemaQualifiedName pathResolvedUserDefinedTypeName;
    private SubviewClause subviewClause;
    private ViewElementList viewElementList;

    public ReferenceableViewSpecification(int beginIndex,
                                          int endIndex,
                                          SchemaQualifiedName pathResolvedUserDefinedTypeName,
                                          SubviewClause subviewClause,
                                          ViewElementList viewElementList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.pathResolvedUserDefinedTypeName = pathResolvedUserDefinedTypeName;
        this.subviewClause = subviewClause;
        this.viewElementList = viewElementList;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public SchemaQualifiedName getPathResolvedUserDefinedTypeName() {
        return pathResolvedUserDefinedTypeName;
    }

    public SubviewClause getSubviewClause() {
        return subviewClause;
    }

    public ViewElementList getViewElementList() {
        return viewElementList;
    }

}
